package com.edu.service;

import com.edu.bean.User;
import com.edu.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserService {
    @Autowired
    private UserDao userDao;
    public User getUser(Integer id){
        return  userDao.getUser(id);
    }
}
